<?php 
$url_teacher_edit = $this->url(array('module'=>'teacher','controller'=>'index','action'=>'edit-password',null));
?>
<!DOCTYPE html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">
    <title>Schedule Western</title>

    <!-- Bootstrap core CSS -->
    <link href="<?php echo $this->baseUrl()?>/css/bootstrap.css" rel="stylesheet">
	<link href="<?php echo $this->baseUrl(); ?>/css/font-awesome.min.css" rel="stylesheet">
	<link href="<?php echo $this->baseUrl(); ?>/css/font-awesome.css" rel="stylesheet">
    <!-- Add custom CSS here -->
    <link href="<?php echo $this->baseUrl(); ?>/css/sb-admin.css" rel="stylesheet">
    <link rel="stylesheet" href="<?php echo $this->baseUrl(); ?>/font-awesome/css/font-awesome.min.css">
    <!-- Page Specific CSS -->
    <!-- get for select auto complete chosen.jquery.js-->
		<script type="text/javascript" src="<?php echo $this->baseUrl();?>/test/chosen.jquery.js"></script>
		<link rel="stylesheet" media="screen" href="<?php echo $this->baseUrl();?>/css/chosen.css" type="text/css" />
  </head>
<style>

tr td.tds{
width: 12%;
padding: 10px 3px;
}
tr td.tdtext{
	width: 30%;
}
#page-wrapper
{
padding: 2px 0px;
background: #FFF;
width: 90%;
margin: 0 auto;
border-radius: 0px 0px 3px 3px;
margin-bottom: 5px;
box-shadow: 0px 0px 13px #8A8A8A;
}
#photo {
margin: 0 auto;
width: 190px;
}
tr td img 
{
	margin-bottom: 10px;
}
.btn img
{
margin: 0;
margin-right: 5px;
}
</style>
<div id="" style="padding-top: 60px">
<form action="<?php echo $url_teacher_edit;?>" method="post" id="frm" enctype="multipart/form-data">
      <div id="page-wrapper">
        <div class="row">
        	 <div class="panel-heading" style=" width: 95%; margin:0 auto;">
        	 <div style="float: right;"> 
				  <button type="submit" name="save_close" id="save_close" value="save_close" class="btn btn-small btn-primary">
				  <b><i class="icon-check"></i></b> &nbsp;Save Close	
				  </button>
			  </div>  
		   <h2 style=" color: #38A3D6; border-bottom: 5px solid #38A3D6; padding: 12px 0px; margin: -10px 0px 15px 0px;">Edit Password User Teacher</h2>
		  </div>   
	<table border="0" cellpadding="5" width="93%" style="margin:0 auto;">
        	<tr><?php echo $this->frmteacher->getElement("teacher_id");?>
        		<input type="hidden" name="old_photo" value="" />
            	<td class="tds">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Old Password :</td>
                <td class="tdtext"><input type="password" name="txt_password" value="" class="form-control validate[required]"> </td>
            </tr>
            <tr>
                <td class="tds">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;New Password  :</td>
                <td class="tdtext"> <?php echo $this->frmteacher->getElement("password");?></td>
            </tr>
            <tr>
                <td class="tds">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Re-Password :</td>
                <td class="tdtext"> <?php echo $this->frmteacher->getElement("confirm_password");?></td>
            </tr>
	</table>
	<div style="padding-bottom: 40px;"></div>
   </div>
  </div>
  
  </form>
</div>
    <!-- Bootstrap core JavaScript -->
    <script src="<?php echo $this->baseUrl(); ?>/js/jquery.min.js"></script>
    <script src="<?php echo $this->baseUrl(); ?>/js/bootstrap.js"></script>
    <!-- Page Specific Plugins -->
    <script src="<?php echo $this->baseUrl(); ?>/js/raphael-min.js"></script>
    <script src="<?php echo $this->baseUrl(); ?>/js/morris-0.4.3.min.js"></script>
    <script src="<?php echo $this->baseUrl(); ?>/js/morris/chart-data-morris.js"></script>
    <script src="<?php echo $this->baseUrl(); ?>/js/tablesorter/jquery.tablesorter.js"></script>
    <script src="<?php echo $this->baseUrl(); ?>/js/tablesorter/tables.js"></script>
<script type="text/javascript" src="<?php echo $this->baseUrl()?>/js/jquery-1.7.2.min.js"></script>
<script src="<?php echo $this->baseUrl()?>/js/validation/languages/jquery.validationEngine-en.js" type="text/javascript" charset="utf-8"></script>
<link type="text/css" rel="stylesheet" media="screen" href="<?php echo $this->baseUrl()?>/js/validation/validationEngine.jquery.css">
<script src="<?php echo $this->baseUrl()?>/js/validation/jquery.validationEngine.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript" src="<?php echo $this->baseUrl()?>/js/jquery-ui-1.8.20.custom.min.js"></script>
<link type="text/css" href="<?php echo $this->baseUrl()?>/css/custom-theme/jquery-ui-1.8.20.custom.css" rel="stylesheet" />	
<script type="text/javascript">
$(function(){				
	$("#frm").validationEngine();
});
</script>